<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
      
      $this->display();   //home--view--index（自己创建)--index.html
        
    }
    
    public function food(){
      
      $this->display(); //home-view-index--food.html
        
    }
}